package com.ruoyi.web.ydz.service;

import com.ruoyi.web.ydz.domain.ProtocolPolicy;
import java.util.List;

/**
 * 协议配置Service接口
 * 
 * @author ruoyi
 * @date 2025-01-16
 */
public interface IProtocolPolicyService 
{
    /**
     * 查询协议配置
     * 
     * @param id 协议配置主键
     * @return 协议配置
     */
    public ProtocolPolicy selectProtocolPolicyById(Long id);

    /**
     * 查询协议配置列表
     * 
     * @param protocolPolicy 协议配置
     * @return 协议配置集合
     */
    public List<ProtocolPolicy> selectProtocolPolicyList(ProtocolPolicy protocolPolicy);

    /**
     * 新增协议配置
     * 
     * @param protocolPolicy 协议配置
     * @return 结果
     */
    public int insertProtocolPolicy(ProtocolPolicy protocolPolicy);

    /**
     * 修改协议配置
     * 
     * @param protocolPolicy 协议配置
     * @return 结果
     */
    public int updateProtocolPolicy(ProtocolPolicy protocolPolicy);

    /**
     * 批量删除协议配置
     * 
     * @param ids 需要删除的协议配置主键集合
     * @return 结果
     */
    public int deleteProtocolPolicyByIds(Long[] ids);

    /**
     * 删除协议配置信息
     * 
     * @param id 协议配置主键
     * @return 结果
     */
    public int deleteProtocolPolicyById(Long id);
}
